package com.wobito.pojo.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lambyang
 * @since 2024-08-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_config_data")
public class ConfigData implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 配置标签
     */
    private String configLabel;

    /**
     * 配置键值
     */
    private String configValue;

    private String configKey;

    private String remark;

    /**
     * 状态(0正常 1停用)
     */
    private Integer status;

    private Date createTime;

    private Date updateTime;

    public ConfigData(String configLabel, String configValue, String configKey) {
        this.configLabel = configLabel;
        this.configValue = configValue;
        this.configKey = configKey;
    }
}
